<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: zhang
  Date: 2021/3/30
  Time: 23:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<%@ include file="Heider.jsp"%>
    <%
        request.setAttribute("now",new Date());
    %>
<div>
    <h3>现在的时间是<fmt:formatDate value="${now}" pattern="yyyy-MM-dd HH:mm"></fmt:formatDate></h3>
    <br><br>
    <h2>请登录账号</h2>
    <form action="${pageContext.request.contextPath}/Login" method="post" name="form1">
        <table id="deng">
            <tr>
                <td>用户名：</td>
                <td><input id="uuser" name="uuser" type="text"></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input id="upwd" name="upwd" type="password"></td>
            </tr>
            <tr>
                <td><input id="ti" type="submit" value="登录"></td>
                <td><button onclick=window.open("Reg.jsp")>注册</button></td><!--跳转到注册页面-->
            </tr>
        </table>
    </form>
</div>
<%@ include file="Botom.jsp"%>
</body>
</html>
